#! /bin/bash

if [sudo apt purge --remove nvidia*] 
then
    reboot
fi

# sudo systemctl isolate multi-user.target